﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Guoc.Web.Tool
{
    public class AuthorityFilterAttribute : ActionFilterAttribute
    {
        public override void OnActionExecuted(ActionExecutedContext filterContext)
        {
            if (filterContext.Exception == null)
            {
                Console.WriteLine("无错");
            }
            else {
                Console.WriteLine("有错");
            }
        }
    }
}